package com.shsmi.entity;

import java.io.Serializable;

/**
 * Description: 坐标点
 * 
 * @author chrli
 * @date Created on 2020年12月31日
 */
public class GeoPoint implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3584864663880053897L;

	/**
	 * 经度
	 */
	private double lon;

	/**
	 * 纬度
	 */
	private double lat;

	public GeoPoint() {
	}

	public GeoPoint(double lon, double lat) {
		super();
		this.lon = lon;
		this.lat = lat;
	}

	public double getLon() {
		return lon;
	}

	public void setLon(double lon) {
		this.lon = lon;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	@Override
	public String toString() {
		return lon + "," + lat;
	}

}
